<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Nmap Scanner</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
    <link rel="stylesheet" href="{{ url_for('static', path='/css/style.css') }}">
  </head>
  <body>
    <div class="container">
      <h1 class="text-center">Nmap Scanner</h1>
      <form id="scan-form">
        <div class="form-group">
          <label for="target">Target IP</label>
          <input type="text" class="form-control" id="target" placeholder="Enter IP address">
        </div>
        <div class="form-group">
          <label for="ports">Ports</label>
          <input type="text" class="form-control" id="ports" placeholder="Enter port numbers (comma separated)">
        </div>
        <button type="submit" class="btn btn-primary">Scan</button>
      </form>
      <br>
      <table class="table">
        <thead>
          <tr>
            <th>Host</th>
            <th>Protocol</th>
            <th>Port</th>
            <th>Status</th>
            <th>Service</th>
            <th>Version</th>
          </tr>
        </thead>
        <tbody id="scan-results">
        </tbody>
      </table>
    </div>
    <script src="https://cdn.staticfile.org/jquery/3.5.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
    <script src="{{ url_for('static', path='/js/main.js') }}"></script>
  </body>
</html>
